{{bread-crumbs categories=categories
               category=category
               noSubcategories=noSubcategories
               hideSubcategories=showingSubcategoryList}}

<ul class="nav nav-pills" id='navigation-bar'>
  {{#each navItem in navItems}}
    {{navigation-item content=navItem filterMode=filterMode}}
  {{/each}}
  {{custom-html "extraNavItem"}}
</ul>

{{#if currentUser}}
  {{category-notifications-button category=category}}
{{/if}}

{{#if canCreateTopic}}
  {{d-button id="create-topic" class="btn-default" action="createTopic" icon="plus" label="topic.create"}}
{{/if}}

{{#if canEditCategory}}
  {{d-button class="btn-default edit-category" action="editCategory" actionParam=category icon="wrench" label="category.edit_long"}}
{{/if}}

<section class='category-heading'>
  {{#if category.logo_url}}
    {{cdn-img src=category.logo_url class="category-logo"}}
    {{#if category.description}}
      <p>{{{category.description}}}</p>
    {{/if}}
  {{/if}}
</section>
